package com.wltt.product.ahuthr.mapper;

import com.wltt.product.ahuthr.mapper.base.BaseMapper;
import com.wltt.product.ahuthr.model.po.SalaryRetirePO;
import org.apache.ibatis.annotations.Param;


/**
 * @ClassName: SalaryRetirePO
 * @Description: 退休信息 Dao
 * @Date: 2024-06-18 11:24:42
 * @Author yanggl
 */
public interface SalaryRetireMapper extends BaseMapper<SalaryRetirePO, Long> {

    /**
     * 根据薪资id查询
     *
     * @param salaryId
     * @return
     */
    SalaryRetirePO queryBySalaryId(@Param("salaryId") Long salaryId);

    /**
     * 根据薪资id删除
     *
     * @param salaryId
     * @return
     */
    void deleteBySalaryId(@Param("salaryId") Long salaryId);
}